package com.stoken.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.TravelLineTypeDao;
import com.stoken.domain.MemberLeaveType;
import com.stoken.domain.TravelLineType;
import com.stoken.service.TravelLineTypeService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class TravelLineTypeServiceImpl extends AbstractServiceImpl<TravelLineType, Long> implements TravelLineTypeService {

	@Autowired
	private TravelLineTypeDao travelLineTypeDao;
	
	@Override
	public GenericDaoImpl<TravelLineType, Long> getDao() {	
		return travelLineTypeDao;
	}

	@Override
	public Page<TravelLineType> find(Page<TravelLineType> pageData) {
		
		return travelLineTypeDao.find(pageData);
	}

	@Override
	public TravelLineType find(String clumn, String value) {
		
		return travelLineTypeDao.find(clumn,value);
	}

	@Override
	public List<TravelLineType> findAll() {
		return travelLineTypeDao.findAll();
	}

	

 


}
